package org.bp.util;
/**
 * Created by bp on 18/03/07.
 */
public final class CastUtils {
    public static String castString(Object obj,String defaultVal){
        return ObjectUtils.isNull(obj)?defaultVal:String.valueOf(obj);
    }

    public static String castString(Object obj){
        return castString(obj,"");
    }

    public static long castLong(Object obj,long defaultVal){
        return 0;
    }
}
